package com.siwei.mes.entity.erp;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * ERP任务单扩展信息修改记录(RwdextraExtendUpdateLog)实体类
 *
 * @author linzi
 * @since 2024-08-20 22:59:50
 */
@Data
@Accessors(chain = true)
@Table(name = "pk_rwdextra_extend_update_log")
@ApiModel(value = "RwdextraExtendUpdateLog", description = "ERP任务单扩展信息修改记录")
public class RwdextraExtendUpdateLog implements Serializable {
    private static final long serialVersionUID = 628755737004133282L;
    /**
     * 主键id
     */
    @Id
    @ApiModelProperty(value = "ERP任务单扩展信息修改记录主键ID", name = "id")
    private Long id;
    /**
     * 任务单id rwdextra表中的frwdh
     */
    @Column(name = "frwdh")
    @ApiModelProperty(value = "任务单id rwdextra表中的frwdh", name = "frwdh")
    private Integer frwdh;
    /**
     * 修改前json
     */
    @Column(name = "before_json")
    @ApiModelProperty(value = "修改前json", name = "beforeJson")
    private JSONObject beforeJson;
    /**
     * 修改后json
     */
    @Column(name = "after_json")
    @ApiModelProperty(value = "修改后json", name = "afterJson")
    private JSONObject afterJson;
    /**
     * 创建人
     */
    @Column(name = "creater")
    @ApiModelProperty(value = "创建人", name = "creater")
    private Long creater;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
}
